package com.wgj.android.accesslibility.config;

/**
 * Created by Administrator on 2017/11/14.
 */

public class WXPageUIManage  {
    public  static  final  String WEIXIN_PACK_NAME="com.tencent.mm";
    /** 红包消息的关键字*/
    public static final String HONGBAO_TEXT_KEY = "[微信红包]";
    /**
     * 是否到了拆红包界面
     * @param className
     * @return
     */
    public  static boolean isQHBUI(String className){
        if("com.tencent.mm.plugin.luckymoney.ui.En_fba4b94f".equals(className) ||"com.tencent.mm.plugin.luckymoney.ui.LuckyMoneyReceiveUI".equals(className)){
            return true;
        }
        return  false;
   }


   public  static  boolean isLuckyMoneyDetailUI(String className){
        return "com.tencent.mm.plugin.luckymoney.ui.LuckyMoneyDetailUI".equals(className);
   }

    /**
     * 是否是微信主界面
     * @param className
     * @return
     */
   public  static  boolean isMainUI(String className){
       return "com.tencent.mm.ui.LauncherUI".equals(className);
   }

    /**
     * 是否在微信个人祥细资料页面
     * @param className
     * @return
     */
   public  static  boolean isContactInfoUI(String className){
       return "com.tencent.mm.plugin.profile.ui.ContactInfoUI".equals(className);
   }

    public  static  boolean isChatRoomUI(String className){

        return className.contains("com.tencent.mm.ui.chatting");
    }

    /**
     * 跳到修改备注页面
     * @param className
     * @return
     */
    public  static  boolean isContactRemarkInfoModUI(String className){
        return "com.tencent.mm.ui.contact.ContactRemarkInfoModUI".equals(className);
    }

    /**
     * 如果是在聊天信息窗口
     * @param className
     * @return
     */
    public  static  boolean isSingleChatInfoUI(String className){
        return "com.tencent.mm.ui.SingleChatInfoUI".equals(className);
    }
}
